package com.chb.javabasic.Controller;

import com.chb.javabasic.interfaces.MathOperation;
import com.chb.javabasic.interfaces.MathOperation2;

public class AnnotationController {

    @Deprecated
    public static void test1(){
        MathOperation2 op = (a, b) -> a + b;
        System.out.println(op.addnumber(2, 3));
    }


    public static void main(String[] args) {
        test1();
    }
}
